package com.byt.xmxb.fragment;

import android.os.Bundle;
import android.view.View;

import com.byt.base.fragment.BaseFragment;
import com.byt.base.viewmodel.BaseViewModel;
import com.byt.xmxb.R;
import com.byt.xmxb.databinding.FragmentHomeBinding;

import androidx.annotation.NonNull;

/**
 * 类名称：  HomeFragment
 * 类描述：  界面
 */
public class HomeFragment extends BaseFragment<FragmentHomeBinding, BaseViewModel> {
    private static HomeFragment mfragment = null;
    public static HomeFragment newsInstance(){
        mfragment = new HomeFragment();
        return mfragment;
    }

    @Override
    public void onViewCreated(@NonNull View view, Bundle savedInstanceState) {
        super.onViewCreated(view, savedInstanceState);
//        setLoadSir(dataBinding.srlHomeLayout);
//        showLoading();
    }

    @Override
    public void initFristData() {
        super.initFristData();
//        setLoadSir(this);

    }

    @Override
    protected void initParameters() {
        super.initParameters();
    }

    @Override
    public int getBindingVariable() {
        return 0;
    }

    @Override
    public int getLayoutId() {
        return R.layout.fragment_home;
    }

    @Override
    public BaseViewModel getViewModel() {
        return null;
    }

    @Override
    protected void onRetryBtnClick() {

    }

    @Override
    protected String getFragmentTag() {
        return "HomeFragment";
    }

}
